/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DAL;

import java.sql.DriverManager;
import java.sql.SQLException;

/**
 *
 * @author bean
 */
public class MyConnection {
    public static java.sql.Connection getConnection() throws ClassNotFoundException, SQLException {
        Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
        java.sql.Connection con = DriverManager.getConnection("jdbc:odbc:ODBC801");
        return con;
    }
}
